﻿var app = angular.module("app", [
    'ngRoute',
    'ngResource'
]);


app.config(function ($routeProvider) {

    $routeProvider.when("/measureUnit", {
        //controller: "measureUnitController",
        templateUrl: "/app/views/measureUnit.html"
    });

    $routeProvider.when("/product", {
        //controller: "productController",
        templateUrl: "/app/views/product.html"
    });

    $routeProvider.otherwise({ redirectTo: "/" });

});

